<template>
  <div>
    <h1>{{ msg }}</h1>
    <School></School>
    <Student></Student>
  </div>
</template>

<script>
//当引入的组件含有相同样式名时，后来的会进行覆盖，显示最后面的
import School from "./components/School.vue";
import Student from "./components/Student.vue";

export default {
  name: "App",
  components: {
    School,
    Student,
  },
  data() {
    return {
      msg: "你好啊",
    };
  },
};
</script>

<style>
.title {
  color: aqua;
  padding: 5px;
}
</style>
